package com.ss.android.article.browser.dialog;

import android.content.DialogInterface;

import com.a.a.e;
import com.ss.android.article.browser.database.BrowserHistory;

final class g implements DialogInterface.OnClickListener {
    private final f a;
    g(f arg1) {
        this.a = arg1;
    }

    public final void onClick(DialogInterface arg4, int arg5) {
        BrowserHistory v0 = new BrowserHistory();
        v0.setTitle(this.a.b.getText().toString());
        v0.setUrl(this.a.c.getText().toString());
        v0.setUrl(this.a.c.getText().toString());
        v0.c(this.a.a.getText().toString());
        com.a.a.a v0_1 = this.a.e.a.a(this.a.d, v0);
        ((e)v0_1).b = android.support.design.a.c();
        ((e)v0_1).c = android.support.design.a.b();
        v0_1.a(new h());
    }
}

